<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>微信消息管理</title>
<link href="__ADMIN_PUBLIC__css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__ADMIN_PUBLIC__js/jquery.js"></script>
<script language="javascript">
$(function(){	
	//导航切换
	$(".imglist li").click(function(){
		$(".imglist li.selected").removeClass("selected")
		$(this).addClass("selected");
	})	
})	
</script>
<script type="text/javascript">
$(document).ready(function(){
  $(".click").click(function(){
  $(".tip").fadeIn(200);
  });
  
  $(".tiptop a").click(function(){
  $(".tip").fadeOut(200);
});

  $(".sure").click(function(){
  $(".tip").fadeOut(100);
});

  $(".cancel").click(function(){
  $(".tip").fadeOut(100);
});

});
</script>
</head>


<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="{:U('Member/Index/welcome/')}">首页</a></li>
    <li><a href="{：U('Member/Message/index')}">微信管理</a></li>
    </ul>
    </div>
    
    <div class="rightinfo">
    
    <div class="tools">
    
    	<ul class="toolbar">
        <li class="click"><span><img src="__ADMIN_PUBLIC__images/t01.png" /></span>添加</li>
        <li class="click"><span><img src="__ADMIN_PUBLIC__images/t02.png" /></span>修改</li>
        <li><span><img src="__ADMIN_PUBLIC__images/t03.png" /></span>删除</li>
        <li><span><img src="__ADMIN_PUBLIC__images/t04.png" /></span>统计</li>
        </ul>
        
        
        <ul class="toolbar1">
        <li><span><img src="__ADMIN_PUBLIC__images/t05.png" /></span>设置</li>
        </ul>
    
    </div>
    
    
    <table class="imgtable" style="width:80%;float: left;">
    
    <thead>
    <tr>
    <th width="100px;">用户图像</th>
    <th>昵称</th>
    <th>内容</th>
   
    <th>发送时间</th>
    <th>所属分组</th>
    <th>备注</th>
    </tr>
    </thead>
    
    <tbody>
    
    <foreach name="message" item="v" >
    <tr>
   	
    <td class="imgtd"><img src="{$v.userInfo.headimgurl}" height="72" width="72" /></td>
    <td><a href="#">{$v.userInfo.nickname}</a>
    	<p><if condition="$v['userInfo']['sex'] eq 1">男</if><if condition="$v['userInfo']['sex'] eq 2">女</if><if condition="$v['userInfo']['sex'] eq 3">保密</if></p>
    </td>
    <td>
	<!--内容-->
	<if condition="$v['msgtype'] eq 'text' ">【文字消息】{$v.content}</if>
	<if condition="$v['msgtype'] eq 'image' ">【图片消息】<img src="{$v.picurl}" alt="" height="70"  /></if>
	<if condition="$v['msgtype'] eq 'voice' ">【音频消息】{$v.mediaid}</if>
	<if condition="$v['msgtype'] eq 'video' ">【视频消息】{$v.mediaid}</if>
	<if condition="$v['msgtype'] eq 'location' ">【地理位置消息】{$v.label}</if>
	<if condition="$v['msgtype'] eq 'shortvideo' ">【小视频消息】{$v.mediaid}</if>
	<if condition="$v['msgtype'] eq 'event' ">【事件消息】{$v.event}</if>
	<!--内容结束-->
    
    </td>
    <td>{$v.createtime|date='Y-m-d H:i:s',###}</td>
    <td>{$v.groupid}</td>
    <td>{$v.remark}</td>
    </tr>
    </foreach>
 
    
    </tbody>
    
    </table>
    
    <table  class="imgtable" style="width:20%;float: right;">
        <thead>
    <tr>
    <th>全部用户()</th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <th>默认组()</th>
    </tr>
     <tr>
    <th>星标组(0)</th>
    </tr>
     <tr>
    <th>黑名单(0)</th>
    </tr>
    
    </tbody>
    </table>
    
    <div class="clear" style="clear: both;"></div>
    
    
   
    <div class="pagin">
    	<div class="message">共<i class="blue">1256</i>条记录，当前显示第&nbsp;<i class="blue">2&nbsp;</i>页</div>
        <ul class="paginList">
        <li class="paginItem"><a href="javascript:;"><span class="pagepre"></span></a></li>
        <li class="paginItem"><a href="javascript:;">1</a></li>
        <li class="paginItem current"><a href="javascript:;">2</a></li>
        <li class="paginItem"><a href="javascript:;">3</a></li>
        <li class="paginItem"><a href="javascript:;">4</a></li>
        <li class="paginItem"><a href="javascript:;">5</a></li>
        <li class="paginItem more"><a href="javascript:;">...</a></li>
        <li class="paginItem"><a href="javascript:;">10</a></li>
        <li class="paginItem"><a href="javascript:;"><span class="pagenxt"></span></a></li>
        </ul>
    </div>
    
    
    <div class="tip">
    	<div class="tiptop"><span>提示信息</span><a></a></div>
        
      <div class="tipinfo">
        <span><img src="__ADMIN_PUBLIC__images/ticon.png" /></span>
        <div class="tipright">
        <p>是否确认对信息的修改 ？</p>
        <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
        </div>
        </div>
        
        <div class="tipbtn">
        <input name="" type="button"  class="sure" value="确定" />&nbsp;
        <input name="" type="button"  class="cancel" value="取消" />
        </div>
    
    </div>
    
    
    
    
    </div>
    
    <div class="tip">
    	<div class="tiptop"><span>提示信息</span><a></a></div>
        
      <div class="tipinfo">
        <span><img src="__ADMIN_PUBLIC__images/ticon.png" /></span>
        <div class="tipright">
        <p>是否确认对信息的修改 ？</p>
        <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
        </div>
        </div>
        
        <div class="tipbtn">
        <input name="" type="button"  class="sure" value="确定" />&nbsp;
        <input name="" type="button"  class="cancel" value="取消" />
        </div>
    
    </div>
    
<script type="text/javascript">
	$('.imgtable tbody tr:odd').addClass('odd');
	</script>
    
</body>

</html>
